Electronics Production

Texto Justificado

Group assignment:

  • Characterize the design rules for your in-house PCB production process: document feeds, speeds, plunge rate, depth of cut (traces and outline) and tooling.
  • Document the workflow for sending a PCB to a board house.
  • Document your work to the group work page and reflect on your individual page what you learned

Individual assignments

  • Make and test a microcontroller development board.

I. Group Assignment

  • Here is the link where you can see the development of the week's group assignment.Group Assignment

This week we focus on electronic production using a CNC router. Our first team task was to test and calibrate the machine parameters. Once this stage was completed, we proceeded to perform the necessary tests. Once the board was ready, we proceeded to solder the electronic components and then programmed the XIAO ESP32 C3.

To carry out the tasks assigned this week, I used a home-made CNC machine which will be described below:

  • 500 watt Splinde motor.
  • Four 2 amp nema 23 motors.
  • JKD2060H control driver.
  • Working speed 8000 RPM.

We carry out group work at home using a machine manufactured in Peru, specifically in Huánuco. We did it with my colleague Wilber Giron, who resides in the city of Pasco.

Imagen

Homemade machine.


Imagen

With colleague Wilber from Pasco.

o carry out the tests with the machine, we first download the file from the example provided in class. Then, using the Flatcam software, we import the downloaded image.

Imagen

Selecting the format to import.


Imagen

Importing downloaded image for testing.

As you can see, the downloaded image was imported successfully. Next, we proceed to configure the tool, in this case, a 0.1 mm 30° "V" type milling cutter is selected.

Imagen


Imagen


Subsequently, a window will open where we establish the speed parameters for the X-Y and Z axes, as well as the tool size, material wear and displacement after each operation of the CNC machine.

The movements in the X and Y axes are 45 steps per millimeter, while in the Z axis they are 15 steps per millimeter. We use a roughing of -0.025 mm, which is enough to remove the material in a single pass. Furthermore, when moving to another point, the movements in the Z axis are 2 mm.

Imagen


Imagen

The next step is to cut the plate. To do this, we proceed to change the tool for a 4-flute type milling cutter, with a diameter of 1.5 mm. The specific parameters for this cut can be seen in the following image.

Imagen pic


Imagen

The next step is to save the generated G-code to a USB and then insert it into the machine for the process. Once on the machine, we select the file and import as shown in the following image.

Imagen


Imagen

Once we have located the machine and placed the material, the next step is to calibrate the height of the tool in relation to the material. Once this calibration is completed, we proceed to start the process.

Imagen


Imagen

Imagen


Imagen

After completing the machining process, the next step is to clean the work area and make any necessary improvements. Subsequently, we prepare to carry out the next task, which is the personal assignment.

Imagen


Imagen

What I have learned this week is that it is crucial to calibrate the machine in terms of the travel speed in the X and Y axes. This is vital because it largely depends on the structure of your machine and, above all, the spindle. In addition, it is important to accurately adjust the material roughing level in my case to 0.025mm of Bakelite material, since if it is done too deep, there is a risk of breaking the cutter. There is also the possibility of removing or cutting some layout tracks that are too small. It has been a very profitable week, now that I understand all these parameters, I am ready to approach my individual task with confidence.

II. Individual Assignments:

For my individual work, I started by reviewing the tutorial available in the "Electronics Production" repository by Professor Adrián Torres. After studying the documentation for it, I proceeded to download the Gerber file from the "design" version V2 folder.

Previous requirements

To carry out the tests on the microcontroller development board, the following aspects were considered:
  • Carry out the machining of the plate with the CNC Router.
  • List of components to use.
  • Electronic components soldier.
  • Installing the XIAO esp32-c3 driver on the arduino platform.
  • Load a code that turns the XIAO on and off repeatedly.

Making the plate

The steps to follow are as follows: Download the Gerber file, import it into Flatcam, then configure the parameters, in my case lance type milling cutter of 30 degrees at 0.1mm, "X-Y" speeds of 70mm/s, "Z" at 60mm/s. s, then click on apply parameters and the next step is click on Generate Job.

Imagen pic193


Imagen pic207

Subsequently, the configuration of the parameters of the machining process is carried out on the CNC, known as the Job process. Then, we proceed with the cutting using the 1.5 mm 4-flute bur. The next step involves transferring the file to the USB to later insert it into the CNC.

Imagen pic193


Imagen pic207

The next step is to export the G-code file generated from the tracks of the board as well as for cutting it.

Imagen pic193


Imagen pic207

The next step involves carefully placing the Bakelite on the CNC bed and activating the board track routing process. It is crucial to ensure that the Bakelite is securely fastened to ensure optimal accuracy during routing. Once the process has started, the CNC will follow the instructions in the G-code file to sculpt the tracks according to the previously specified design.

Imagen pic193


Imagen pic207

From the process of machining the test plate, it is evident that each step requires meticulous attention. This was evident during the routing process, where an oversight when changing burs resulted in the "Z" height calibration being omitted. Unfortunately, this mistake caused irreparable damage to the plate, as the cutting burr completely destroyed it. This highlights the importance of maintaining focus and precision at every stage of the process to avoid costly setbacks.

Imagen pic193


Imagen pic207

Now I present several plates that I have made in an attempt to improve my work, however, it is evident that there is still a way to go before reaching perfection.

Component Welding Process

"Now, the next step involves the process of soldering the electronic components according to the list provided in "Electronics Production". It is crucial to ensure that you have all the necessary components as well as the tools to be able to carry out the individual job safely. effective."

Imagen pic193


Imagen pic207

Bakelite, I bought it in Paruro Lima, the supplier is a friend from "Palomino" times.


Imagen pic193


Imagen pic207

The welding process can be complicated, but with care and attention, it can be carried out without a hitch. However, it is important to note that soldering surface mount (SMD) components requires patience and additional practice due to its delicate and precise nature.

Imagen pic193


Imagen pic207

All components were purchased in advance, except for the Xiao, whose arrival on time to complete the assigned task was possible thanks to the efficient management of our mentors at Fab Lab Perú, in particular, the outstanding work of teacher Vaneza, who was who sent us from the United States.

Unfortunately, I couldn't find the button component in nearby electronic stores. However, I managed to solve this problem by recycling buttons from an unused circuit.

Imagen pic193


Imagen pic207

Imagen pic193


Imagen pic207

Imagen pic193


Imagen pic207

The soldering process was carried out as follows: First, I applied flux over the areas where the components would be soldered. I then applied a small amount of tin to these areas, making sure not to warp the flat surface required for each part. Afterwards, I placed each component in its designated place and used a soldering iron (in my case, 30W to 70W) to solder it. During this process, I only added more solder when necessary to ensure proper soldering of the component. This procedure was repeated iteratively until the last component was soldered.

Imagen pic193


Imagen pic207

The next step was to solder the pins of the XIAO ESP32-C3 so that it could be placed on the finished board. This allowed us to carry out the first tests of the circuit.

Imagen pic193


Imagen pic207


Test a microcontroller development board

To carry out the process of loading a code and putting the XIAO into operation, we begin by installing the necessary boards as shown in the following images.

Imagen pic193


Imagen pic207

Imagen pic193


Imagen pic207

The next step involves selecting the card corresponding to our model in the toolbar. Then, we go to the 'Tools' menu and access the card manager to select 'XIAO ESP32-C3'. Once this is completed, we proceed to load a short code that flashes an LED every second. With these steps, your XIAO will be up and running correctly.

Imagen pic193


Imagen pic207

The second test was carried out by connecting a TDS water quality sensor and viewing the parameters through the serial monitor. Of course, this process is still in the testing phase for my final project.

Imagen pic193


Imagen pic207



In summary

In short, this project not only involves technical skills, but also patience, attention to detail, and a careful approach to every step of the process. With proper planning and precise execution, satisfactory results can be achieved in electronic production with a CNC router and the XIAO ESP32-C3 microcontroller. Be patient since our first job with the CNC will not turn out perfect, with perseverance and practice it will turn out excellent.

Link to files used this week

1. LED flashing.
2. Water quality.